From a368ce3ae4b7b9c51d0cf80e2e1a2e2ec42d26bd Mon Sep 17 00:00:00 2001 From: "cl349@freefall.cl.cam.ac.uk" Date: Sat, 13 Nov 2004 20:41:38 +0000 Subject: [PATCH] bitkeeper revision 1.1159.1.418 (41967182dDHIjEk8n6G0gWEq2g771w) cleanup sync w/ head. --- xen/common/schedule.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/xen/common/schedule.c b/xen/common/schedule.c index 939f12edd2..86b51c0754 100644 --- a/xen/common/schedule.c +++ b/xen/common/schedule.c @@ -492,18 +492,17 @@ static void s_timer_fn(unsigned long unused) static void t_timer_fn(unsigned long unused) { struct exec_domain *ed = current; - struct domain *d = ed->domain; TRACE_0D(TRC_SCHED_T_TIMER_FN); - if ( !is_idle_task(d) ) + if ( !is_idle_task(ed->domain) ) { - update_dom_time(d); + update_dom_time(ed->domain); send_guest_virq(ed, VIRQ_TIMER); } - t_timer[d->processor].expires = NOW() + MILLISECS(10); - add_ac_timer(&t_timer[d->processor]); + t_timer[ed->processor].expires = NOW() + MILLISECS(10); + add_ac_timer(&t_timer[ed->processor]); } /* Domain timer function, sends a virtual timer interrupt to domain */ -- 2.30.2